package com.hzdl.cinema.domain;

public class Seat {
    private Integer seatId;

    private Integer studioId;

    private Integer seatRow;

    private Studio studio;

    private Integer seatCol;

    private String seatStatus;



    public Seat(Integer seatId, Integer studioId, Integer seatRow, Studio studio, Integer seatCol, String seatStatus, Schedule schedule) {
        this.seatId = seatId;
        this.studioId = studioId;
        this.seatRow = seatRow;
        this.studio = studio;
        this.seatCol = seatCol;
        this.seatStatus = seatStatus;
    }

    @Override
    public String toString() {
        return "Seat{" +
                "seatId=" + seatId +
                ", studioId=" + studioId +
                ", seatRow=" + seatRow +
                ", studio=" + studio +
                ", seatCol=" + seatCol +
                ", seatStatus='" + seatStatus + '\'' +
                '}';
    }

    public Seat(Integer seatId, String seatStatus) {
        this.seatId = seatId;
        this.seatStatus = seatStatus;
    }

    public Studio getStudio() {
        return studio;
    }

    public void setStudio(Studio studio) {
        this.studio = studio;
    }

    public Seat() {
    }

    public Seat(String seatStatus) {
        this.seatStatus = seatStatus;
    }

    public Seat(Integer seatId, Integer studioId, Integer seatRow, Integer seatCol, String seatStatus) {
        this.seatId = seatId;
        this.studioId = studioId;
        this.seatRow = seatRow;
        this.seatCol = seatCol;
        this.seatStatus = seatStatus;
    }



    public Integer getSeatId() {
        return seatId;
    }

    public void setSeatId(Integer seatId) {
        this.seatId = seatId;
    }

    public Integer getStudioId() {
        return studioId;
    }

    public void setStudioId(Integer studioId) {
        this.studioId = studioId;
    }

    public Integer getSeatRow() {
        return seatRow;
    }

    public void setSeatRow(Integer seatRow) {
        this.seatRow = seatRow;
    }

    public Integer getSeatCol() {
        return seatCol;
    }

    public void setSeatCol(Integer seatCol) {
        this.seatCol = seatCol;
    }

    public String getSeatStatus() {
        return seatStatus;
    }

    public void setSeatStatus(String seatStatus) {
        this.seatStatus = seatStatus == null ? null : seatStatus.trim();
    }
}